package lucius.work.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import lucius.work.dao.impl.*;
import lucius.work.entity.*;
import lucius.work.service.*;

@Service("userService")
public class UserServiceImpl extends BaseService<User> implements UserService{

	@Resource(name="userDao")
	UserDaoImpl userDao;

	@Override
	public User findByUserName(String username, String password) {
		return userDao.findByUserName(username,password);
	}
	
}
